Fixing whitespace problems git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111750 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/ostream b/include/ostream index 577167f..90f3403 100644 --- a/include/ostream +++ b/include/ostream
@@ -242,7 +242,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS if (__os_.rdbuf()->pubsync() == -1) __os_.setstate(ios_base::badbit); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -250,7 +250,7 @@ catch (...) { } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -279,7 +279,7 @@ return *this; } -#endif +#endif // _LIBCPP_MOVE template <class _CharT, class _Traits> basic_ostream<_CharT, _Traits>::~basic_ostream() @@ -328,7 +328,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -337,7 +337,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typedef istreambuf_iterator<_CharT, _Traits> _I; typedef ostreambuf_iterator<_CharT, _Traits> _O; _I __i(__sb); @@ -358,7 +358,7 @@ { this->__set_failbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS } else this->setstate(ios_base::badbit); @@ -369,7 +369,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -380,7 +380,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -395,7 +395,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -406,7 +406,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -425,7 +425,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -436,7 +436,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -451,7 +451,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -462,7 +462,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -481,7 +481,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -492,7 +492,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -507,7 +507,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -518,7 +518,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -533,7 +533,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -544,7 +544,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -559,7 +559,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -570,7 +570,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -585,7 +585,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -596,7 +596,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -611,7 +611,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -622,7 +622,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -637,7 +637,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -648,7 +648,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -663,7 +663,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -674,7 +674,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -689,7 +689,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -700,7 +700,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -715,7 +715,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -726,7 +726,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -747,7 +747,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -758,7 +758,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -780,7 +780,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -791,7 +791,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<char, _Traits>::sentry __s(__os); if (__s) { @@ -812,7 +812,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -823,7 +823,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<char, _Traits>::sentry __s(__os); if (__s) { @@ -844,7 +844,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -855,7 +855,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<char, _Traits>::sentry __s(__os); if (__s) { @@ -876,7 +876,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -887,7 +887,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -909,7 +909,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -920,7 +920,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -955,7 +955,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -966,7 +966,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<char, _Traits>::sentry __s(__os); if (__s) { @@ -988,7 +988,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -999,7 +999,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<char, _Traits>::sentry __s(__os); if (__s) { @@ -1021,7 +1021,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -1032,7 +1032,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<char, _Traits>::sentry __s(__os); if (__s) { @@ -1054,7 +1054,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -1065,7 +1065,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -1081,7 +1081,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -1092,7 +1092,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS sentry __sen(*this); if (__sen && __n) { @@ -1114,7 +1114,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -1125,7 +1125,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS if (this->rdbuf()) { sentry __s(*this); @@ -1141,7 +1141,7 @@ { this->__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -1222,7 +1222,7 @@ return __os; } -#endif +#endif // _LIBCPP_MOVE template<class _CharT, class _Traits, class _Allocator> basic_ostream<_CharT, _Traits>& @@ -1232,7 +1232,7 @@ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -1254,7 +1254,7 @@ { __os.__set_badbit_and_consider_rethrow(); } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS return __os; }